package priv.zgh.forum.discuss.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import priv.zgh.forum.discuss.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZGH
 * @since 2022-03-26
 */
public interface CommentService extends IService<Comment> {

    Page<Comment> pageResourcesCondition(long current, long limit, Comment query);

    Page<Comment> pageResourcesConditionByPostsId(String postsId, long current, long limit, Comment query);
}
